﻿using System.Collections;
using System.Collections.Generic;
using TTGameEngine;
using UnityEngine;

[ExecuteInEditMode]
public class LayerZ : MonoBehaviour {

    public float offsetZ;
    [ReadOnly]
    public float DebugShow_curZ;
    public Transform m_LayerZBindTF;
    public int m_OrdingInZBind;
    Transform tf;

    private void Awake()
    {
        tf = transform;
    }

    // Use this for initialization
    void Start () {
		
	}

    // Update is called once per frame   
    [ExecuteInEditMode]
    void Update () {
#if UNITY_EDITOR
        DebugShow_curZ = tf.position.z;
#endif
    }
}
